package com.elitel.frame.base.component.exportprojectdata;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component("kuduConfInfo")
@ConfigurationProperties(prefix = "kudu")
@ConditionalOnProperty(prefix = "kudu", name = "enabled", havingValue = "true")
public class KuduConfInfo {
    @Value("${kudu.master-address}")
    public String masterAddr;
}
